
package utils;


public class Door {
	
	private int _posX;
	private int _posY;
	private int _nextRoom;
	private String _state;
	
	public Door(int posX, int posY, int nextRoom, String state) {
		_posX = posX;
		_posY = posY;
		_nextRoom = nextRoom;
		_state = state;
	}
	
	public int getPosX(){
		return _posX;
	}
	
	public int getPosY(){
		return _posY;
	}
	
	public int getNextRoom(){
		return _nextRoom;
	}
	
	public String getState(){
		return _state;
	}
	
	public void setState(String newState){
		_state = newState;
	}

}
